@extends('admin.layout')
@section('title')
    会员参数设置
@endsection
@section('body')
    <div class="widget-body">
        <form data-bv-feedbackicons-validating="glyphicon glyphicon-refresh" data-bv-feedbackicons-invalid="glyphicon glyphicon-remove" data-bv-feedbackicons-valid="glyphicon glyphicon-ok" data-bv-message="This value is not valid" class="form-horizontal bv-form" method="post" id="registrationForm" novalidate="novalidate">
            <div class="form-title">
                系统设置
            </div>
            {!! Form::model($data, ['url' => action(NAMESPACE_ADMIN.'SettingController@postEdit'), 'method' => 'POST']) !!}
            <div class="form-group has-feedback">
                <label class="col-lg-2 control-label">初始化积分:</label>
                <div class="col-lg-5">
                    {!! Form::text('member[score]', isset($data['score']) ? $data['score'] : null, ['class'=>'form-control']) !!}
                </div>
            </div>
            <div class="form-group has-feedback">
                <label class="col-lg-2 control-label">初始化余额:</label>
                <div class="col-lg-5">
                    {!! Form::text('member[money]', isset($data['money']) ? $data['money'] : null, ['class'=>'form-control']) !!}
                </div>
            </div>
            <div class="form-group">
                <div class="col-lg-offset-2 col-lg-8">
                    <input type="submit" value="确定" class="btn btn-palegreen">
                </div>
            </div>
            {!! Form::close() !!}
        </form>
    </div>
@endsection